Skip to main content

Delete Issue

AutomatR.Jira.Activities.DeleteIssue

The "Delete Issue" activity in AutomatR's Jira package leverages the Jira API to delete a specific issue. This activity is designed to streamline the process of removing issues from Jira as part of automation workflows.

Properties

NameDescription
Input
Ticket IDSpecifies the ID of the Jira issue to be deleted. Either Ticket ID or Ticket Key is required. String variables containing the Jira issue ID.
Ticket KeySpecifies the key of the Jira issue to be deleted. Either Ticket ID or Ticket Key is required. String variables containing the Jira issue key.
Misc
Display NameThe display name of the activity. This field supports only strings or String variables.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Delete Issue" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs a Boolean value indicating whether the deletion of the issue was successful (True) or encountered errors (False). Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Delete Issue" activity onto the workflow.
  2. Configure the properties by specifying the Ticket ID or Ticket Key of the Jira issue to be deleted.
  3. Optionally, configure the delay.
  4. Execute the workflow to delete the specified Jira issue.

Example: Consider an example where the "Delete Issue" activity is used to delete a Jira issue with the key "PROJ-123":

Delete Issue:
Ticket Key: "PROJ-123"
Result: isIssueDeleted

In this example, the activity deletes the Jira issue "PROJ-123." The result of the operation (success or failure) is stored in the Boolean variable "isIssueDeleted" for further handling in the workflow.